package com.framework.loippi.controller;

/**
 * Created by longbh on 16/9/5.
 */
public class AppConstants {
    /**
     * 成功
     */
    public static final int OK = 2000000;

    /**
     * 通用失败
     */
    public static final int FAIL = 5000000;
    /**
     * 找不到
     */
    public static final int NOT_FOUND = 5000001;

    /**
     * 不能为空
     */
    public static final int NOT_NULL = 5000002;
    /**
     * 用户会话失效
     */
    public static final int USER_SESS_EXPIRED = 5000103;

    /**
     * 用户未登录
     */
    public static final int USER_NOT_LOGIN = 5000104;
    
    
    /**
     * 帐号或密码错误
     */
    public static final int USER_NOT_INFO = 5000105;
    
    /**
     * 帐号不存在
     */
    public static final int  ACCOUNT_NOT_EXIST = 5000106;
    
    /**
     * 验证码错误
     */
    public static final int  CAPTCHA__NOT_EXIST = 5000107;
    
    /**
     * 参数不完整
     */
    public static final int  PARAMETER__NOT_COMPLETE = 5000108;

    /**
     * 参数不完整
     */
    public static final int  USER_EXIST = 5000109;

    /**
     * 不存在的设计模式
     */
    public static final int  NO_FOUND_MODAL = 5000201;
    /**
     * 未设置模式
     */
    public static final int  NO_SET_MODAL = 5000207;

    /**
     * 未绑定任何房间
     */
    public static final int  NO_ROOM_SET = 5000208;

    /**
     * 房间找不到
     */
    public static final int NOT_FOUND_ROOM = 5000301;

    /**
     * 最多添加10个时间设置
     */
    public static final int TIME_MAX_TEN = 5000401;

    /**
     * 无权限
     */
    public static final int NO_PERMISSION = 5000501;

    /**
     * 更新硬件失败
     */
    public static final int ERROR_DEVICE = 5000502;

    /**
     * 硬件已经被禁用
     */
    public static final int LOCK_DEVICE = 5000503;

    /**
     * 用户已经被禁用
     */
    public static final int LOCK_USER = 5000504;

    /**
     * 手机号码不存在
     */
    public static final int USER_NOT_FOUND = 5000505;



    //-------------------二期----------------------------
    public static final int CODE_EXPIRE = 5000601;      //验证码失效

}
